package com.yupi.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.ToString;

/**
 * 
 * @TableName call_and_generate_counts
 */
@TableName(value ="call_and_generate_counts")
@Data
public class CallAndGenerateCounts implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 剩余调用次数
     */
    @TableField(value = "remaining_call_count")
    private Integer remainingCallCount;

    /**
     * 已调用次数
     */
    @TableField(value = "called_count")
    private Integer calledCount;

    /**
     * 剩生成次数
     */
    @TableField(value = "remaining_generate_count")
    private Integer remainingGenerateCount;

    /**
     * 已生成次数
     */
    @TableField(value = "generated_count")
    private Integer generatedCount;

    /**
     * user_id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 余额
     */
    @TableField(value = "balance")
    private Integer balance;

    /**
     * 待完成任务
     */
    @TableField(value = "remain_tasks")
    private Integer remainTasks;

    /**
     * 0为不是1为是
     */
    @TableField(value = "is_vip")
    private String isVip;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}